package com.its.en.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletResponse;

/**
 * @Author: master
 * @Version: 1.0
 */
@Controller
public class IndexController {

    /**
     * 名字的内容..
     */
    @RequestMapping("/")
    public String index(HttpServletResponse response) {
        /**可以防止index首页被浏览器缓存*/
        response.addHeader("Cache-Control", "no-store");
        return "index";
    }

}
